<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link rel="shortcut icon" href="image/favicon.ico" />
		<title>登录</title>

		<link href="lib/metronic/css/components.min.css" rel="stylesheet" type="text/css" />
		<link href="lib/metronic/css/login.min.css" rel="stylesheet" type="text/css" />
		<link href="css/login.css" rel="stylesheet" type="text/css" />

	</head>

	<body class="login">

		<div class="yk_header">
			<div class="yk_logo">
				<img src="image/logo.png" />
				<div class="logintext">农业统计快速调查综合服务平台</div>
			</div>
		</div>

		<div class="yk_content">
			<img src="image/bg1.jpg" class="bg" />

			<div class="yk_login">
				<!-- BEGIN LOGIN -->
				<div class="content">
					<!-- BEGIN LOGIN FORM -->
					<form class="login-form" action="">
						<h3 class="form-title font-dark">欢迎登录</h3>
						<div class="alert alert-danger display-hide">
							<button class="close" data-dismiss="alert"></button>
							<span id="vw-loginerror">用户名或密码错误</span>
						</div>
						<div class="form-group">
							<label class="control-label visible-ie8 visible-ie9">用户名</label>
							<input class="form-control placeholder-no-fix" type="text" placeholder="请输入用户名" name="username" />
						</div>
						<div class="form-group">
							<label class="control-label visible-ie8 visible-ie9">密码</label>
							<input class="form-control placeholder-no-fix" type="password" placeholder="请输入密码" name="password" />
						</div>
						<div class="form-actions">
							<button type="submit" class="btn green uppercase">登录 </button>
							<label class="rememberme check mt-checkbox mt-checkbox-outline pull-right" style="margin-top: 10px;">
						<input type="checkbox" name="remember" id="check-remember"/>记住密码
						<span></span>
					</label>
						</div>
						<div class="login-options">
							忘记密码？&nbsp;
							<a href="#" id="forget-password">点击此处</a>
							&nbsp;找回密码
						</div>
						<div class="create-account">
							<p>
								还没有账号？&nbsp;
								<a href="#" id="register-btn" class="uppercase">注册账号</a>
							</p>
						</div>
					</form>
					<!-- END LOGIN FORM -->

					<form id="selectUser" class="select-form" style="display: none;">
						<h3 class="form-title font-green">请选择进入的平台</h3>
						<div id="user_info"></div>
						<button type="button" id="select-back-btn" class="btn green uppercase">返回</button>
					</form>

					<!-- BEGIN FORGOT PASSWORD FORM -->
					<form class="forget-form" action="">
						<h3 class="font-green">忘记密码？</h3>
						<div class="alert alert-success display-hide  alert-reset-ok">
							<button class="close" data-dismiss="alert"></button>
							<span>密码已重置，并发送到您注册的邮箱，请查收并及时登录系统修改新密码！</span>
						</div>
						<div class="alert alert-danger display-hide alert-reset-error">
							<button class="close" data-dismiss="alert"></button>
							<span>您输入的邮箱未注册账号，请检查输入的信息是否正确！</span>
						</div>
						<p>输入电子邮件地址重置密码</p>
						<div class="form-group">
							<input class="form-control placeholder-no-fix" type="text" placeholder="请输入电子邮件地址" name="email" />
						</div>
						<div class="form-actions">
							<button type="button" id="back-btn" class="btn green btn-outline">返回</button>
							<button type="submit" class="btn green uppercase pull-right">提交 </button>
						</div>
					</form>
					<!-- END FORGOT PASSWORD FORM -->
					<!-- BEGIN REGISTRATION FORM -->
					<form class="register-form" action="">
						<h3 class="font-green">注册</h3>
						<div class="alert alert-success display-hide alert-register-ok">
							<button class="close" data-dismiss="alert"></button>
							<span>新用户注册成功，注册信息已发送到您的邮箱，请登录邮箱确认后才能登录系统！</span>
						</div>
						<div class="alert alert-danger display-hide alert-register-error">
							<button class="close" data-dismiss="alert"></button>
							<span>非常抱歉，新用户注册失败，请联系系统管理员！</span>
						</div>
						<p>请在下面输入您的帐户详细信息：</p>
						<div class="form-group">
							<label class="control-label visible-ie8 visible-ie9">用户名</label>
							<input class="form-control placeholder-no-fix" type="text" placeholder="请输入用户名" name="username1" />
						</div>
						<div class="form-group">
							<label class="control-label visible-ie8 visible-ie9">密码</label>
							<input class="form-control placeholder-no-fix" type="password" id="register_password" placeholder="请输入密码" name="password1" />
						</div>
						<div class="form-group">
							<label class="control-label visible-ie8 visible-ie9">再次输入密码</label>
							<input class="form-control placeholder-no-fix" type="password" placeholder="请再次输入密码" name="rpassword1" />
						</div>
						<div class="form-group">
							<label class="control-label visible-ie8 visible-ie9">电子邮件</label>
							<input class="form-control placeholder-no-fix" type="text" placeholder="请输入电子邮件地址" name="email1" />
						</div>
						<div class="form-actions">
							<button id="register-back-btn" type="button" class="btn green btn-outline">返回</button>
							<button type="submit" id="register-submit-btn" class="btn green uppercase pull-right">注册</button>
						</div>
					</form>
					<!-- END REGISTRATION FORM -->
				</div>
				<!-- END LOGIN -->
			</div>
		</div>

		<div class="copyright">
			技术支持：北京维盛沃德科技有限公司 Email：support@visiorld.cn
		</div>
		</div>

		<script src="lib/requirejs/require.min.js"></script>
		<script src="js/vw.config.require.js"></script>
		<script>
			require(['login'], function(login) {
				login.init(true);
			})

			function selectuser(id) {
				require(['login'], function(login) {
					login.selectuser(id);
				})
			}
		</script>
	</body>
</html>